import type { Page } from '@/api/types/common'

export interface Article {
  articleId?: number,
  title: string,
  summary?: string,
  thumbnail?: string,
  isComment?: string,
  sort?: number,
  status?: string,
  createTime?: string,
  classifyIds: number[],
  tagIds: (number | string)[],
  content?: string
}

export interface ArticlePage extends Page {
  records: Article[]
}

export interface AueryType {
  current: number,
  size: number,
  pid?: number,
  title?: string,
  status?: string,
  dateRange?: string
}